package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HTicketDeptOrderItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HTicketDeptOrderItemMapper {
    int deleteByPrimaryKey(String id);

    int insert(HTicketDeptOrderItem record);

    int insertSelective(HTicketDeptOrderItem record);

    HTicketDeptOrderItem selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HTicketDeptOrderItem record);

    int updateByPrimaryKey(HTicketDeptOrderItem record);

    int insertBatch(@Param("items") List<HTicketDeptOrderItem> items);

    List<Map<String,Object>> selectByOrderId(String orderId);
}